// 处理path
export const getPathActiveIndex = (path: string) => {
    let paths = path.split('/')
    const len = paths.length
    if (len > 3) {
        paths = paths.splice(0, 3)
        return paths.join('/')
    }
    return path
}
